<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        div {
            width: 400px;
            height: 400px;
            background-color: pink;
        }

        h2 {
            transition: all 0.8s;
        }

        h2:hover {
            transform: translate3d(0, -50px, 0);
        }
    </style>
</head>

<body>
    <div></div>
    <h2>每毫米突破</h2>
</body>

</html>